﻿namespace Microsoft.Coding4Fun.TweetCraft.Twitter
{
    public interface ITwitterUserPictureService
    {
        /// <summary>
        /// Gets or sets the folder where user pictures should be saved after converted.
        /// </summary>
        string UserPictureDirectory { get; set; }

        /// <summary>
        /// Gets the path to a user picture based on the user's id.
        /// </summary>
        /// <param name="user">The user.</param>
        /// <returns>A <see cref="string"/> containing the path to the user's picture. Can be null.</returns>
        string GetUserPicturePath(User user);
    }
}
